﻿//-----------------------------------------------------------------------
// <copyright file="ESOptions.cs" company="SLWY Enterprises">
// * Copyright (C) 2017 四川商旅无忧科技有限公司 版权所有。
// * version : 1.0
// * author  : qinchaoyue
// * FileName: ESClientProvider.cs
// * history : created by qinchaoyue 2017-12-20 05:46:07
// </copyright>
//-----------------------------------------------------------------------

namespace Slwy.Logger.Implements.Elasticsearch
{
    /// <summary>
    /// es 配置项
    /// </summary>
    public class ESOptions
    {
        /// <summary>
        /// 服务器地址
        /// </summary>
        public string Uri { get; set; }

        /// <summary>
        /// 库名
        /// </summary>
        public string Index { get; set; }

        /// <summary>
        /// 帐号 (default: null)
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码 (default: null)
        /// </summary>
        public string Password { get; set; }
    }
}